encoding/json.decodeState.off (field)
22 uses
encoding/json (current package)
decode.go#L213: off int // next read offset in data
decode.go#L224: return d.off - 1
decode.go#L234: d.off = 0
decode.go#L266: s, data, i := &d.scan, d.data, d.off
decode.go#L272: d.off = i
decode.go#L281: if d.off < len(d.data) {
decode.go#L282: d.opcode = d.scan.step(&d.scan, d.data[d.off])
decode.go#L283: d.off++
decode.go#L286: d.off = len(d.data) + 1 // mark processed EOF with len+1
decode.go#L293: s, data, i := &d.scan, d.data, d.off
decode.go#L299: d.off = i
decode.go#L304: d.off = len(data) + 1 // mark processed EOF with len+1
decode.go#L317: data, i := d.data, d.off
decode.go#L351: d.off = i + 1
decode.go#L507: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L510: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L528: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L604: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L607: d.saveError(&UnmarshalTypeError{Value: "object", Type: v.Type(), Offset: int64(d.off)})
decode.go#L637: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L649: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L830: return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeOf(0.0), Offset: int64(d.off)}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |